<!--
  Generated template for the QuestionPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-navbar>
    <ion-title>提问</ion-title>
    <ion-buttons start>
      <button ion-button (click)="dismiss()">
        <span ion-text color="primary" showWhen="ios">取消</span>
        <ion-icon name="md-close" showWhen="android"></ion-icon>
      </button>
    </ion-buttons>
  </ion-navbar>

</ion-header>


<ion-content>
  <ion-list>
    <ion-item>
      <ion-label stacked>
        问题标题
      </ion-label>
      <ion-input type="input" [(ngModel)]="title"></ion-input>
    </ion-item>
    <ion-item>
      <ion-label stacked>
        问题标题
      </ion-label>
      <ion-textarea type="input" rows="5" [(ngModel)]="content"></ion-textarea>
    </ion-item>
  </ion-list>
  <div padding>
    <button (click)="submitQuestion()" ion-button color="primary" block> 提 问</button>
  </div>
</ion-content>
